package com.wangnian.wangcai.util;


/**
 * 消息发送
 */
public class ChatbotSend {

    private static final String WEBHOOK_TOKEN = "https://open.feishu.cn/open-apis/bot/v2/hook/4142361b-f6cc-4616-838d-b19859ef620c";

    public static void send(String a) {
        HttpUtil.post(WEBHOOK_TOKEN,"{\"msg_type\":\"text\",\"content\":{\"text\":\""+a+"\"}}");
    }

    public static void main(String[] args) {
        send("测试");
    }
}